package com.xjgc.msibase.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.jeecg.common.system.base.entity.JeecgEntity;

/**
 * 对外任务执行记录
 *
 * @author: 小逗号
 * @date: 2023-12-28
 * @description:
 * @since:
 */
@Data
@TableName("msi_exo_task_record")
public class MsiExoTaskRecord extends JeecgEntity {
    public MsiExoTaskRecord() {
    }

    public MsiExoTaskRecord(MsiExoTask exoTask, String dataText) {
        this.taskId = exoTask.getId();
        this.taskName = exoTask.getTaskName();
        this.dataType = exoTask.getDataType();
        this.dataText = dataText;
    }

    private String taskId;
    private String taskName;
    private String dataType;
    private String dataText;

    private String status;
    private String message;

    /**
     * 上游id
     */
    @TableField(exist = false)
    private String upstreamId;
    /**
     * 上游name
     */
    @TableField(exist = false)
    private String upstreamName;

}
